<include file="Base:header" />
    <div id="mws-container" class="clearfix">
    <div class="container">
    <div class="mws-panel grid_8">

        <div class="mws-panel-header">
            <span class="mws-i-24 i-table-1">会员列表</span>
        </div>
        <div class="mws-panel-body">
            <table class="mws-table">
                <thead>
                    <tr>
                        <th>用户名</th>
                        <th>姓名</th>
                        <th>手机号码</th>
                        <th>邮箱</th>
                        <th>QQ</th>
                        <th>微信</th>
                        <th>注册时间</th>
                        <th>操作</th>
                        <!--<th>操作</th>-->
                    </tr>
                </thead>
                <tbody>
                <volist name="data" id="vo">
                    <tr>
                        <td>{$vo.username}</td>
                        <td>{$vo.real_name}</td>
                        <td>{$vo.mobile}</td>
                        <td>{$vo.email}</td>
                        <td>{$vo.qq_num}</td>
                        <td>{$vo.wei_num}</td>
                        <td>{$vo.create_at}</td>
                        <td><a href="__MODULE__/User/edit?id={$vo['id']}"><button class="mws-button green btn-small">编辑</button></a>&nbsp;&nbsp;&nbsp;<a href="__MODULE__/User/del?id={$vo['id']}"><button class="mws-button red btn-small">删除</button></a></td>
                    </tr>
                </volist>
                </tbody>
            </table>
        </div>
        <div class="clear"></div>
        <div class="result pager">{$page}</div>
    </div>
    </div>
    </div>
    </div>
</div>
<style>
    .mws-table th,.mws-table td{text-align: center;font-size: medium}
    .btn-small{height: 26px;line-height: 16px;}
</style>
<!--<script>
    function change() {
        var txt = $(".fbtn").html();
        if(txt == '禁用'){
            $(".fbtn").removeClass('disable').addClass('enable').html('启用')
            $.ajax({
                url:'edit',
                type:'post',
                data:'value:0',
                success:'alert("1")'
            })
        }else {
            $(".fbtn").removeClass('enable').addClass('disable').html('禁用')
        }
    }
</script>-->
</body>
</html>